package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Appliance;
import com.ruoyi.system.domain.Requisitions;

/**
 * 器具租赁Service接口
 * 
 * @author ruoyi
 * @date 2021-04-29
 */
public interface IApplianceService 
{
    /**
     * 查询器具租赁列表
     * 
     * @param appliance 器具租赁
     * @return 器具租赁集合
     */
    public List<Appliance> selectApplianceList(Appliance appliance);

    //新增器具租赁请购单
    public int insertAppliance(Requisitions requisitions);

    //修改器具租赁
    public int updateAppliance(Requisitions requisitions);

    //查询所有器具租赁单
    List<Requisitions> queryApplianceList(Requisitions requisitions);

    //查询但他器巨单详情
    Requisitions queryApplianceListById(Long id);

    //删除器具单
    int deleteRequisitionsById(Long ids);

    //生成采购单
    int insertPurchase(Requisitions requisitions);

    //删除请购单
    int deleteAppliDetailById(Long appliId);
}
